<template>
  <footer class="blog-footer">
    <div class="footer-content">
      <p>&copy; {{ currentYear }} 博客网站. 保留所有权利.</p>
      <p class="beian">宁ICP备2025009840号</p>
    </div>
  </footer>
</template>

<script setup>
const currentYear = new Date().getFullYear()
</script>

<style scoped>
.blog-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 1rem 0;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.beian {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #6c757d;
  padding: 0 0 2rem;
}
</style>